package entity.dao;



import entity.Book;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * BookDao
 *
 * @author: cyx_jay
 * @date: 2021/1/27 10:45
 */
public interface BookDao {

    public List<Book> findAll();

    public void updatePriceById(@Param(value = "id") int id,@Param("price") int price);

    public Book findById(int id);
}
